//对外暴露一个函数
export const setToken = (token)=>{
    localStorage.setItem('TOKEN',token);
};
//对外暴露一个获取token的函数
export const getToken = () =>{
    return localStorage.getItem("TOKEN");
};

//清除本地存储的token
export const removeToken = () =>{
     localStorage.removeItem("TOKEN");
}